package com.qf.mapper;

import com.qf.entity.TSmsTemplate;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/*
杨威
2021/10/29
21:10
*/
public interface SmsTempMapper {
    @Insert("INSERT INTO t_sms_template (template,paramter,owntype,creater,status) VALUES(#{template},#{paramter},#{owntype},#{creater},#{status})")
    int addTemp(TSmsTemplate tSmsTemplate);
    @Select("select * from t_sms_template")
    List<TSmsTemplate> findAll();
    List<TSmsTemplate> findByMultiParam(TSmsTemplate tSmsTemplate);
}
